package ru.mx1.servletContainer.conf;

import java.util.List;

public class ServletMapping {
    private final String servletName;
    private final List<String> urlPatterns;
    
    public ServletMapping(String servletName, List<String> urlPatterns) {
        this.servletName = servletName;
        this.urlPatterns = urlPatterns;
    }

    public String getServletName() {
        return servletName;
    }

    public List<String> getUrlPatterns() {
        return urlPatterns;
    }
    
} //~
